package com.wwj.server.game.msg;

import com.google.gson.annotations.SerializedName;
import com.wwj.server.game.common.MsgConstants;
import com.wwj.server.model.NetBaseMsg;

public class GameServerHeartbeatMsg extends NetBaseMsg {
    private String type = MsgConstants.GAME_SERVER_HEARTBEAT;

    @SerializedName("server_name")
    private String serverName;

    public GameServerHeartbeatMsg() {
    }

    public GameServerHeartbeatMsg(String serverName) {
        this.serverName = serverName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getServerName() {
        return serverName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }
}
